// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   IRoleService.java

package com.iphaeton.lms.business.role;

import com.iphaeton.common.helper.Pagination;
import com.iphaeton.exception.BusinessException;
import com.iphaeton.lms.pojo.organize.User;
import com.iphaeton.lms.pojo.role.Privilege;
import com.iphaeton.lms.pojo.role.Role;
import java.util.List;

public interface IRoleService
{

    public abstract Role save(Role role)
        throws BusinessException;

    public abstract Privilege addPrivilege(Role role, Privilege privilege)
        throws BusinessException;

    public abstract void remove(Role role)
        throws BusinessException;

    public abstract Role findRoleById(String s)
        throws BusinessException;

    public abstract Role findStudyAdmin()
        throws BusinessException;

    public abstract Role findSystemAdmin()
        throws BusinessException;

    public abstract Role findTeacher()
        throws BusinessException;

    public abstract Role findStudent()
        throws BusinessException;

    public abstract void setRole(Role role, User user)
        throws BusinessException;

    public abstract Pagination findRolePagination(String s, String s1, int i)
        throws BusinessException;

    public abstract Pagination findUserPagination(String s, int i)
        throws BusinessException;

    public abstract Pagination findNotRoleUserPagination(String s, String s1, String s2, int i)
        throws BusinessException;

    public abstract void removePrivilege(Role role, Privilege privilege)
        throws BusinessException;

    public abstract void removeUser(Role role, String s)
        throws BusinessException;

    public abstract List selectRole(String s)
        throws BusinessException;
}
